// cover some element-ui styles

.el-breadcrumb__inner,
.el-breadcrumb__inner a {
  font-weight: 400 !important;
}

.el-upload {
  input[type="file"] {
    display: none !important;
  }
}

.el-upload__input {
  display: none;
}

.cell {
  .el-tag {
    margin-right: 0px;
  }
}

.small-padding {
  .cell {
    padding-left: 5px;
    padding-right: 5px;
  }
}

.fixed-width {
  .el-button--mini {
    padding: 7px 10px;
    min-width: 60px;
  }
}

.status-col {
  .cell {
    padding: 0 10px;
    text-align: center;

    .el-tag {
      margin-right: 0px;
    }
  }
}

// to fixed https://github.com/ElemeFE/element/issues/2461
.el-dialog {
  transform: none;
  left: 0;
  position: relative;
  margin: 0 auto;
}

// refine element ui upload
.upload-container {
  .el-upload {
    width: 100%;

    .el-upload-dragger {
      width: 100%;
      height: 200px;
    }
  }
}

// dropdown
.el-dropdown-menu {
  a {
    display: block
  }
}

// fix date-picker ui bug in filter-item
.el-range-editor.el-input__inner {
  display: inline-flex !important;
}

// to fix el-date-picker css style
.el-range-separator {
  box-sizing: content-box;
}

.el-card__header {
  padding: 0 15px;
}

.el-card__body {
  padding: 10px 15px;
}

.el-step__title {
  font-size: 10px;
  line-height: 20px;
}
.step-style {
  size: 4px;
}

// 修复表格固定列最后一行显示不全问题
.el-table__fixed-right {
  height: 100% !important;
}

.el-table--medium .el-table__cell  {
  padding: 4px 0px;
}
.el-table__row {
  height: 20px;
}
.el-table__header {
  padding: 0;
}

// 修改输入框在disabled状态下的字体颜色
.el-input.is-disabled .el-input__inner {
  background-color: #F5F7FA;
  border-color: #dfe4ed;
  color: #606266;
  cursor: not-allowed;
}

.el-textarea.is-disabled .el-textarea__inner {
  background-color: #F5F7FA;
  border-color: #dfe4ed;
  color: #606266;
  cursor: not-allowed;
}

.el-tag.el-tag--info {
  background-color: #F5F7FA;
  border-color: #dfe4ed;
  color: #606266;
}

// 修改Radio Button在disabled状态下的字体颜色和背景颜色
.el-radio-button__orig-radio:disabled:checked + .el-radio-button__inner {
  background-color: #1890ffeb;
  border-color: #1890ff;
  color: #FFFFFF;
}

.el-radio-group {
  display: block;
  line-height: 1;
  font-size: 0;
}

.el-upload-dragger {
  background-color: #fff;
  border: 1px dashed #d9d9d9;
  border-radius: 6px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  width: 540px;
  height: 180px;
  text-align: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.el-date-editor.el-input, .el-date-editor.el-input__inner {
  width: 100%;
}

.el-table .cell {
  white-space: pre-line;
}

.el-descriptions--medium.is-bordered .el-descriptions-item__cell {
  white-space: pre-line;
}
